# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'ConfigDialog.ui',
# licensing of 'ConfigDialog.ui' applies.
#
# Created: Sun Apr 14 10:58:35 2019
#      by: pyside2-uic  running on PySide2 5.12.2
#
# WARNING! All changes made in this file will be lost!

from PySide2 import QtCore, QtGui, QtWidgets

class Ui_ConfigDialog(object):
    def setupUi(self, ConfigDialog):
        ConfigDialog.setObjectName("ConfigDialog")
        ConfigDialog.resize(473, 714)
        self.formLayout = QtWidgets.QFormLayout(ConfigDialog)
        self.formLayout.setObjectName("formLayout")
        self.tabWidget = QtWidgets.QTabWidget(ConfigDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setObjectName("tabWidget")
        self.tabSlot1 = QtWidgets.QWidget()
        self.tabSlot1.setObjectName("tabSlot1")
        self.layoutWidget = QtWidgets.QWidget(self.tabSlot1)
        self.layoutWidget.setGeometry(QtCore.QRect(11, 11, 421, 411))
        self.layoutWidget.setObjectName("layoutWidget")
        self.verticalLayoutTabSlot1 = QtWidgets.QVBoxLayout(self.layoutWidget)
        self.verticalLayoutTabSlot1.setContentsMargins(10, 5, 10, 5)
        self.verticalLayoutTabSlot1.setObjectName("verticalLayoutTabSlot1")
        self.tableWidgetSlot1 = QtWidgets.QTableWidget(self.layoutWidget)
        self.tableWidgetSlot1.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.tableWidgetSlot1.setObjectName("tableWidgetSlot1")
        self.tableWidgetSlot1.setColumnCount(0)
        self.tableWidgetSlot1.setRowCount(0)
        self.tableWidgetSlot1.verticalHeader().setVisible(False)
        self.verticalLayoutTabSlot1.addWidget(self.tableWidgetSlot1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setContentsMargins(10, 5, 10, 5)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.checkBoxSelectAllSlot1 = QtWidgets.QCheckBox(self.layoutWidget)
        self.checkBoxSelectAllSlot1.setChecked(True)
        self.checkBoxSelectAllSlot1.setObjectName("checkBoxSelectAllSlot1")
        self.horizontalLayout.addWidget(self.checkBoxSelectAllSlot1)
        self.checkBoxConvergeSelectionSlot1 = QtWidgets.QCheckBox(self.layoutWidget)
        self.checkBoxConvergeSelectionSlot1.setObjectName("checkBoxConvergeSelectionSlot1")
        self.horizontalLayout.addWidget(self.checkBoxConvergeSelectionSlot1)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.pushButtonNewTransducerTypeSlot1 = QtWidgets.QPushButton(self.layoutWidget)
        self.pushButtonNewTransducerTypeSlot1.setObjectName("pushButtonNewTransducerTypeSlot1")
        self.horizontalLayout.addWidget(self.pushButtonNewTransducerTypeSlot1)
        self.verticalLayoutTabSlot1.addLayout(self.horizontalLayout)
        self.tabWidget.addTab(self.tabSlot1, "")
        self.tabSlot2 = QtWidgets.QWidget()
        self.tabSlot2.setObjectName("tabSlot2")
        self.layoutWidget1 = QtWidgets.QWidget(self.tabSlot2)
        self.layoutWidget1.setGeometry(QtCore.QRect(11, 11, 421, 411))
        self.layoutWidget1.setObjectName("layoutWidget1")
        self.verticalLayoutTabSlot2 = QtWidgets.QVBoxLayout(self.layoutWidget1)
        self.verticalLayoutTabSlot2.setContentsMargins(10, 5, 10, 5)
        self.verticalLayoutTabSlot2.setObjectName("verticalLayoutTabSlot2")
        self.tableWidgetSlot2 = QtWidgets.QTableWidget(self.layoutWidget1)
        self.tableWidgetSlot2.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.tableWidgetSlot2.setObjectName("tableWidgetSlot2")
        self.tableWidgetSlot2.setColumnCount(0)
        self.tableWidgetSlot2.setRowCount(0)
        self.tableWidgetSlot2.verticalHeader().setVisible(False)
        self.verticalLayoutTabSlot2.addWidget(self.tableWidgetSlot2)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setContentsMargins(10, 5, 10, 5)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.checkBoxSelectAllSlot2 = QtWidgets.QCheckBox(self.layoutWidget1)
        self.checkBoxSelectAllSlot2.setChecked(True)
        self.checkBoxSelectAllSlot2.setObjectName("checkBoxSelectAllSlot2")
        self.horizontalLayout_2.addWidget(self.checkBoxSelectAllSlot2)
        self.checkBoxConvergeSelectionSlot2 = QtWidgets.QCheckBox(self.layoutWidget1)
        self.checkBoxConvergeSelectionSlot2.setObjectName("checkBoxConvergeSelectionSlot2")
        self.horizontalLayout_2.addWidget(self.checkBoxConvergeSelectionSlot2)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.pushButtonNewTransducerTypeSlot2 = QtWidgets.QPushButton(self.layoutWidget1)
        self.pushButtonNewTransducerTypeSlot2.setObjectName("pushButtonNewTransducerTypeSlot2")
        self.horizontalLayout_2.addWidget(self.pushButtonNewTransducerTypeSlot2)
        self.verticalLayoutTabSlot2.addLayout(self.horizontalLayout_2)
        self.tabWidget.addTab(self.tabSlot2, "")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.tabWidget)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setContentsMargins(10, 5, 10, 5)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label = QtWidgets.QLabel(ConfigDialog)
        self.label.setMaximumSize(QtCore.QSize(73, 16777215))
        self.label.setObjectName("label")
        self.horizontalLayout_3.addWidget(self.label)
        self.comboBoxResolution = QtWidgets.QComboBox(ConfigDialog)
        self.comboBoxResolution.setObjectName("comboBoxResolution")
        self.comboBoxResolution.addItem("")
        self.comboBoxResolution.addItem("")
        self.comboBoxResolution.addItem("")
        self.comboBoxResolution.addItem("")
        self.comboBoxResolution.addItem("")
        self.comboBoxResolution.addItem("")
        self.comboBoxResolution.addItem("")
        self.horizontalLayout_3.addWidget(self.comboBoxResolution)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.horizontalLayout_3.setStretch(0, 1)
        self.horizontalLayout_3.setStretch(1, 1)
        self.horizontalLayout_3.setStretch(2, 4)
        self.formLayout.setLayout(4, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_3)
        self.groupBoxChannelFilter = QtWidgets.QGroupBox(ConfigDialog)
        self.groupBoxChannelFilter.setMinimumSize(QtCore.QSize(0, 61))
        self.groupBoxChannelFilter.setFlat(False)
        self.groupBoxChannelFilter.setCheckable(True)
        self.groupBoxChannelFilter.setObjectName("groupBoxChannelFilter")
        self.layoutWidget_4 = QtWidgets.QWidget(self.groupBoxChannelFilter)
        self.layoutWidget_4.setGeometry(QtCore.QRect(20, 24, 414, 30))
        self.layoutWidget_4.setObjectName("layoutWidget_4")
        self.horizontalLayoutChannelFilter = QtWidgets.QHBoxLayout(self.layoutWidget_4)
        self.horizontalLayoutChannelFilter.setContentsMargins(10, 5, 10, 5)
        self.horizontalLayoutChannelFilter.setObjectName("horizontalLayoutChannelFilter")
        self.label_10 = QtWidgets.QLabel(self.layoutWidget_4)
        self.label_10.setMaximumSize(QtCore.QSize(72, 16777215))
        self.label_10.setObjectName("label_10")
        self.horizontalLayoutChannelFilter.addWidget(self.label_10)
        self.comboBoxFilterType = QtWidgets.QComboBox(self.layoutWidget_4)
        self.comboBoxFilterType.setObjectName("comboBoxFilterType")
        self.comboBoxFilterType.addItem("")
        self.comboBoxFilterType.addItem("")
        self.horizontalLayoutChannelFilter.addWidget(self.comboBoxFilterType)
        self.line_6 = QtWidgets.QFrame(self.layoutWidget_4)
        self.line_6.setLineWidth(3)
        self.line_6.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_6.setObjectName("line_6")
        self.horizontalLayoutChannelFilter.addWidget(self.line_6)
        self.label_11 = QtWidgets.QLabel(self.layoutWidget_4)
        self.label_11.setMaximumSize(QtCore.QSize(48, 16777215))
        self.label_11.setObjectName("label_11")
        self.horizontalLayoutChannelFilter.addWidget(self.label_11)
        self.spinBoxFilterCount = QtWidgets.QSpinBox(self.layoutWidget_4)
        self.spinBoxFilterCount.setMaximumSize(QtCore.QSize(40, 16777215))
        self.spinBoxFilterCount.setMinimum(1)
        self.spinBoxFilterCount.setMaximum(100)
        self.spinBoxFilterCount.setProperty("value", 10)
        self.spinBoxFilterCount.setObjectName("spinBoxFilterCount")
        self.horizontalLayoutChannelFilter.addWidget(self.spinBoxFilterCount)
        self.line_7 = QtWidgets.QFrame(self.layoutWidget_4)
        self.line_7.setLineWidth(3)
        self.line_7.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_7.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_7.setObjectName("line_7")
        self.horizontalLayoutChannelFilter.addWidget(self.line_7)
        self.label_12 = QtWidgets.QLabel(self.layoutWidget_4)
        self.label_12.setMaximumSize(QtCore.QSize(48, 16777215))
        self.label_12.setObjectName("label_12")
        self.horizontalLayoutChannelFilter.addWidget(self.label_12)
        self.doubleSpinBoxFilterWindow = QtWidgets.QDoubleSpinBox(self.layoutWidget_4)
        self.doubleSpinBoxFilterWindow.setMaximumSize(QtCore.QSize(58, 16777215))
        self.doubleSpinBoxFilterWindow.setDecimals(1)
        self.doubleSpinBoxFilterWindow.setMaximum(10.0)
        self.doubleSpinBoxFilterWindow.setSingleStep(0.1)
        self.doubleSpinBoxFilterWindow.setProperty("value", 0.1)
        self.doubleSpinBoxFilterWindow.setObjectName("doubleSpinBoxFilterWindow")
        self.horizontalLayoutChannelFilter.addWidget(self.doubleSpinBoxFilterWindow)
        self.label_13 = QtWidgets.QLabel(self.layoutWidget_4)
        self.label_13.setObjectName("label_13")
        self.horizontalLayoutChannelFilter.addWidget(self.label_13)
        self.formLayout.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.groupBoxChannelFilter)
        self.buttonBox = QtWidgets.QDialogButtonBox(ConfigDialog)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.formLayout.setWidget(10, QtWidgets.QFormLayout.FieldRole, self.buttonBox)
        self.line_8 = QtWidgets.QFrame(ConfigDialog)
        self.line_8.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_8.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_8.setObjectName("line_8")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.line_8)
        self.line = QtWidgets.QFrame(ConfigDialog)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.formLayout.setWidget(7, QtWidgets.QFormLayout.FieldRole, self.line)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setContentsMargins(10, -1, 10, -1)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_2 = QtWidgets.QLabel(ConfigDialog)
        self.label_2.setStyleSheet("font: 12pt \"宋体\";")
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_4.addWidget(self.label_2)
        self.lineEditConfigName = QtWidgets.QLineEdit(ConfigDialog)
        self.lineEditConfigName.setStyleSheet("font: 12pt \"宋体\";")
        self.lineEditConfigName.setObjectName("lineEditConfigName")
        self.horizontalLayout_4.addWidget(self.lineEditConfigName)
        self.labelConfigNameSuffix = QtWidgets.QLabel(ConfigDialog)
        self.labelConfigNameSuffix.setStyleSheet("font: 12pt \"宋体\";")
        self.labelConfigNameSuffix.setObjectName("labelConfigNameSuffix")
        self.horizontalLayout_4.addWidget(self.labelConfigNameSuffix)
        self.label_6 = QtWidgets.QLabel(ConfigDialog)
        self.label_6.setStyleSheet("font: 12pt \"宋体\";")
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_4.addWidget(self.label_6)
        self.formLayout.setLayout(0, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_4)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setContentsMargins(10, 5, 10, 5)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_3 = QtWidgets.QLabel(ConfigDialog)
        self.label_3.setMaximumSize(QtCore.QSize(65, 16777215))
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_5.addWidget(self.label_3)
        self.spinBoxInterval = QtWidgets.QSpinBox(ConfigDialog)
        self.spinBoxInterval.setMinimum(1)
        self.spinBoxInterval.setMaximum(3600)
        self.spinBoxInterval.setProperty("value", 60)
        self.spinBoxInterval.setObjectName("spinBoxInterval")
        self.horizontalLayout_5.addWidget(self.spinBoxInterval)
        self.label_4 = QtWidgets.QLabel(ConfigDialog)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_5.addWidget(self.label_4)
        self.line_2 = QtWidgets.QFrame(ConfigDialog)
        self.line_2.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.horizontalLayout_5.addWidget(self.line_2)
        self.label_5 = QtWidgets.QLabel(ConfigDialog)
        self.label_5.setMaximumSize(QtCore.QSize(75, 16777215))
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_5.addWidget(self.label_5)
        self.spinBoxTimes = QtWidgets.QSpinBox(ConfigDialog)
        self.spinBoxTimes.setMinimum(1)
        self.spinBoxTimes.setProperty("value", 15)
        self.spinBoxTimes.setObjectName("spinBoxTimes")
        self.horizontalLayout_5.addWidget(self.spinBoxTimes)
        self.formLayout.setLayout(8, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_5)
        self.line_3 = QtWidgets.QFrame(ConfigDialog)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.formLayout.setWidget(9, QtWidgets.QFormLayout.FieldRole, self.line_3)

        self.retranslateUi(ConfigDialog)
        self.tabWidget.setCurrentIndex(0)
        self.comboBoxResolution.setCurrentIndex(4)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), ConfigDialog.reject)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), ConfigDialog.accept)
        QtCore.QMetaObject.connectSlotsByName(ConfigDialog)

    def retranslateUi(self, ConfigDialog):
        ConfigDialog.setWindowTitle(QtWidgets.QApplication.translate("ConfigDialog", "新建测试配置", None, -1))
        self.checkBoxSelectAllSlot1.setText(QtWidgets.QApplication.translate("ConfigDialog", "全选", None, -1))
        self.checkBoxConvergeSelectionSlot1.setText(QtWidgets.QApplication.translate("ConfigDialog", "一致", None, -1))
        self.pushButtonNewTransducerTypeSlot1.setText(QtWidgets.QApplication.translate("ConfigDialog", "添加自定义传感器", None, -1))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabSlot1), QtWidgets.QApplication.translate("ConfigDialog", "Slot 1", None, -1))
        self.checkBoxSelectAllSlot2.setText(QtWidgets.QApplication.translate("ConfigDialog", "全选", None, -1))
        self.checkBoxConvergeSelectionSlot2.setText(QtWidgets.QApplication.translate("ConfigDialog", "一致", None, -1))
        self.pushButtonNewTransducerTypeSlot2.setText(QtWidgets.QApplication.translate("ConfigDialog", "添加自定义传感器", None, -1))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabSlot2), QtWidgets.QApplication.translate("ConfigDialog", "Slot 2", None, -1))
        self.label.setText(QtWidgets.QApplication.translate("ConfigDialog", "通道分辨率：", None, -1))
        self.comboBoxResolution.setItemText(0, QtWidgets.QApplication.translate("ConfigDialog", "100", None, -1))
        self.comboBoxResolution.setItemText(1, QtWidgets.QApplication.translate("ConfigDialog", "10", None, -1))
        self.comboBoxResolution.setItemText(2, QtWidgets.QApplication.translate("ConfigDialog", "1", None, -1))
        self.comboBoxResolution.setItemText(3, QtWidgets.QApplication.translate("ConfigDialog", "0.1", None, -1))
        self.comboBoxResolution.setItemText(4, QtWidgets.QApplication.translate("ConfigDialog", "0.01", None, -1))
        self.comboBoxResolution.setItemText(5, QtWidgets.QApplication.translate("ConfigDialog", "0.001", None, -1))
        self.comboBoxResolution.setItemText(6, QtWidgets.QApplication.translate("ConfigDialog", "0.0001", None, -1))
        self.groupBoxChannelFilter.setTitle(QtWidgets.QApplication.translate("ConfigDialog", "通道滤波", None, -1))
        self.label_10.setText(QtWidgets.QApplication.translate("ConfigDialog", "滤波器类型：", None, -1))
        self.comboBoxFilterType.setItemText(0, QtWidgets.QApplication.translate("ConfigDialog", "滑动滤波", None, -1))
        self.comboBoxFilterType.setItemText(1, QtWidgets.QApplication.translate("ConfigDialog", "平均滤波", None, -1))
        self.label_11.setText(QtWidgets.QApplication.translate("ConfigDialog", "数据量：", None, -1))
        self.label_12.setText(QtWidgets.QApplication.translate("ConfigDialog", "滤波窗：", None, -1))
        self.label_13.setText(QtWidgets.QApplication.translate("ConfigDialog", "%", None, -1))
        self.label_2.setText(QtWidgets.QApplication.translate("ConfigDialog", "配置名称：", None, -1))
        self.lineEditConfigName.setText(QtWidgets.QApplication.translate("ConfigDialog", "新建测试配置", None, -1))
        self.labelConfigNameSuffix.setText(QtWidgets.QApplication.translate("ConfigDialog", "@20161112-1300", None, -1))
        self.label_6.setText(QtWidgets.QApplication.translate("ConfigDialog", ".cfg", None, -1))
        self.label_3.setText(QtWidgets.QApplication.translate("ConfigDialog", "采集周期：", None, -1))
        self.label_4.setText(QtWidgets.QApplication.translate("ConfigDialog", "秒", None, -1))
        self.label_5.setText(QtWidgets.QApplication.translate("ConfigDialog", "采集循环数：", None, -1))

